package com.pureut.system.service.impl;

import com.pureut.system.domain.SubjectRequestDetails;
import com.pureut.system.domain.dto.SubjectRequestDetailsdDto;
import com.pureut.system.mapper.SubjectRequestDetailsMapper;
import com.pureut.system.service.ISubjectRequestDetailsService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: pureut
 * @Date: 2024-12-05 15:50:50
 * @Desc: 实验品申请物料明细
 */
@Service("subjectRequestDetailsService")
public class SubjectRequestDetailsServiceImpl extends ServiceImpl<com.pureut.system.mapper.SubjectRequestDetailsMapper, SubjectRequestDetails> implements ISubjectRequestDetailsService {

    /**
     * 实验品申请物料明细Dao
     */
    @Resource
    private SubjectRequestDetailsMapper subjectRequestDetailsMapper;

    /**
     * 获取实验品申请详细信息
     * @param id
     * @return
     */
    @Override
    public List<SubjectRequestDetailsdDto> getListByPid(Long id){
        return subjectRequestDetailsMapper.getListByPid(id);
    }


}
